package com.example.flashsales.service;

import com.example.flashsales.entity.vo.AdminCostRecordVo;

import java.util.Date;
import java.util.List;

public interface AdminCostRecordService {

    //查看流水纪录（按时间查看）天
    List<AdminCostRecordVo> viewCostRecordByTimeDay(Date qTime, Date hTime, int page, int num);

    //增加流水纪录
    String addCostRecord(int type,double money);

    //查看所有的流水纪录
    List<AdminCostRecordVo> viewAllCostRecord(int page,int num);


    //查看流水纪录
    List<AdminCostRecordVo> viewCost(Integer page, Integer num, Date qDate, Date hDate, Integer state);

    //按类型统计钱
    Double viewBillByState(Integer state,Date qDate,Date hDate);
}
